package com.alks.function.service.finance.ryfinance;

import com.alks.entity.data.entity.PcMtlPreOther2;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.PcMtlPreCheckReq;
import com.alks.function.data.request.finance.ryfinance.MtlPreOtherInRequest;
import com.alks.function.data.request.finance.ryfinance.MtlPreOtherUpRequest;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 财务部-荣阳财务-收货对账作业 实现类
 * @author ms
 */
public interface IRecTbAccountService {
    /**
     * 导出明细
     */
    void downloadMtlPreOther(HttpServletResponse response, MtlPreOtherInRequest request) throws IOException;

    /**
     * 入库明细查询-可条件查询
     * @param request
     * @return
     */
    ResponseInfo mtlPreOtherInQuery(MtlPreOtherInRequest request);

    /**
     * 入库明细更新-更新
     * @param request
     * @return
     */
    ResponseInfo mtlPreOtherInUp(List<MtlPreOtherUpRequest> request);

    /**
     * 备注信息回显查询-回显
     * @return
     */
    ResponseInfo mtlPreOtherInBack();

    ResponseInfo pcMltPreCDList(PcMtlPreCheckReq req);

    ResponseInfo optionMtlPreCheck(List<PcMtlPreOther2> list, String choose);

    ResponseInfo insertPriceWS(List<PcMtlPreOther2> list, BigDecimal discount, BigDecimal orgPrice, Date sendDate, String choose);

    ResponseInfo getPurType();

}
